Skip to content

docs(plans): add quick polls page and cross links - #22

Merged
musa-kal merged 3 commits into
mainfrom
docs/quick-polls
Nov 23, 2026
Merged

musa-kal merged 3 commits into
mainfrom
docs/quick-polls

Conversation

@musa-kal

@musa-kal musa-kal commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Intent

Add quick polls to the Potluck user guide. Quick polls are a new way to find a time with no account: make a poll from the landing page, share the link, everyone paints when they are free. The app change is Fermulate/potluck#51, which is open and not merged yet.

Deliberate decisions:

  • The guide is written from the app branch of feat: quick polls, an availability link with no account potluck#51 (feat/quick-polls-no-account), not from main, so it is ready to ship with the app change. Every button, label and message is quoted from packages/i18n/src/en/quick-polls.ts and shell.ts on that branch. The guide must only say what that code does.
  • One new page, plans/quick-polls, last in the Plans sidebar group, plus short cross links from plans/index, plans/availability (guest links), getting-started, the FAQ, the topic menu and two rows in the privacy "What is stored" table.
  • No existing heading is renamed, because in-app help links point at guide headings. The new page's headings are meant to stay stable for a later in-app help link.
  • Left out on purpose: the rate limit numbers (the UI never shows them), the per-answer save limit, the refresh interval in seconds, the sign-up card on the poll page, and anything about turning a quick poll into a plan, reminders or claiming a poll with an account (none of that exists).
  • No screenshots in this change. Several existing guide pages have none, and the app change is not live yet. Screenshots can follow after the app ships.
  • The intro of privacy-and-security still says Potluck shows what it stores only to friends and people you share a group with. Quick polls are the exception (anyone with the link sees names and times); the new table row and the quick polls page say so. Rewording that intro is welcome if review asks for it.

What Changed

  • Adds a new guide page, plans/quick-polls, placed last in the Plans sidebar group in astro.config.mjs and listed in the topic menu. It covers when to use a quick poll, making one, sharing the link, adding and changing times, reading results, closing or deleting a poll, when a poll stops taking answers, limits, and who can see it.
  • Adds short cross links to the new page from plans/index, the guest links section of plans/availability, getting-started, and a new FAQ entry, "Can I find a time without an account?". No existing heading is renamed.
  • Updates privacy-and-security: the intro now notes that anyone with a quick poll's link can see it, and the "What is stored, and who sees it" table gains two rows, one for quick poll titles, names and times, and one for the hashed IP address of whoever makes a poll (kept up to two hours, never stored with the poll).

Merge order: merge this only after Fermulate/potluck#51 merges. The guide deploys on every push to main, and this page describes an app change that is not live yet.

Credits: Musa (musa-kal), Ferrin (Ferrin-Y) and Noor (noorelmosrati)

Risk Assessment

✅ Low: Docs-only change whose quoted labels, limits, defaults, statuses and retention claims all match the app branch of Fermulate/potluck#51, with both fix-round edits (privacy intro wording, two-hour IP hash retention) verified against the hourly purge job and the rest of the privacy table.

Testing

Built the docs site at the target commit (build and the built-in internal link validator both passed), served it with astro preview on 127.0.0.1:4391 and drove it in a real browser: opened the new Quick polls page, checked the sidebar order, followed every internal link and anchor on the page, clicked through from plans, availability, getting started, FAQ, privacy and the home topic menu, read the privacy rows and intro, searched for "quick poll", checked a 390 px mobile render, and scanned rendered text of all changed pages for em and en dashes. Also built the base commit and compared heading anchors of existing pages (only the new FAQ heading was added), and compared every bold UI label on the new page with the i18n files fetched from the app branch feat/quick-polls-no-account (60 of 60 found). Screenshots captured for each surface. Everything driven passed; the guide's behavioural claims about the app were not verified against a running app. The preview server was stopped and build output removed; the worktree is clean.

  • Live validation: ✅ go - 10 of 11 scenarios driven live against the product
Scenario Result Live Evidence
Reader opens /plans/quick-polls/ on the locally served guide and sees the full Quick polls page with its sections, step lists and limits table ✅ pass live 01-quick-polls-page.png, 01-quick-polls-page-full.png; HTTP 200, h1 'Quick polls', 11 headings, 2 step lists, 7 limit rows
Reader looks at the Plans sidebar group and finds Quick polls as the last entry ✅ pass live 02-sidebar.png; sidebar order read from the page: Planning something, Painting your availability, How best times are ranked, Locking in a time, Timeline, Quick polls [current]
Reader clicks the quick poll cross link on plans, availability (guest links), getting started, FAQ, privacy and the home topic menu and lands on the Quick polls page ✅ pass live 03-crosslink-*.png (6 files); each click ended at /plans/quick-polls/ with h1 'Quick polls'
Reader follows every internal link and anchor on the Quick polls page and each target page and heading exists ✅ pass live 18 internal links followed, all 200 with anchors found (including /plans/#start-a-poll, /plans/availability/#guest-links, #paint-your-times, #the-live-heatmap); build.log shows 'All internal links are…
Reader opens Privacy and security and sees the two quick poll rows in the 'What is stored' table and the intro noting that anyone with a quick poll link can see it ✅ pass live 04-privacy-table.png; rows read: 'Quick poll titles, names and times | Anyone with the poll's link, until the poll ends...' and 'The IP address of whoever makes a quick poll | Nobody in the app... for…
Reader searches the guide for 'quick poll' and the Quick polls page is the top result and opens ✅ pass live 05-search.png; first result 'Quick polls -> /plans/quick-polls/', click landed there
Adversarial: existing heading anchors that in-app help links point at are unchanged between base and target builds ✅ pass live heading-ids-base.txt vs heading-ids-head.txt: the only difference is the added FAQ anchor can-i-find-a-time-without-an-account
Adversarial: no em or en dash appears in the rendered text of the new and changed pages ✅ pass live Rendered body text of /plans/quick-polls/, /plans/, /plans/availability/, /getting-started/, /faq/, /privacy-and-security/ and / scanned in the browser: zero matches for U+2013 or U+2014
Every button, label and message quoted in bold on the Quick polls page exists in the app branch strings (feat/quick-polls-no-account) ✅ pass live ui-string-check.txt: 60 of 60 quoted labels found in quick-polls.ts, shell.ts and plans.ts fetched from the app branch
Quick polls page reads without horizontal overflow on a 390 px wide phone viewport ✅ pass live 06-mobile-limits.png; document scrollWidth minus clientWidth = 0
The guide's behavioural claims (limits, defaults, close and delete, deletion within the hour, IP hash retention) match what the app in Fermulate/potluck#51 actually does ⏸️ untested no Would need the unmerged app branch running with its Supabase backend, migrations and purge job; this docs worktree has no app checkout, and standing up that stack (database, auth, scheduled jobs) is o…

Quick polls page (desktop, top)

Quick polls page (full page)

Sidebar with Quick polls last in Plans

Cross link on Planning something

Cross link under Guest links

Cross link on Getting started

New FAQ entry

Privacy intro with quick poll note

Home topic menu entry

Privacy table with the two quick poll rows

Search results for 'quick poll'

Limits table on a phone viewport

Evidence: Quoted UI labels vs app branch strings

60 of 60 quoted labels found in the app branch strings

MATCH   "Plans"  <=  "Plans"
MATCH   "Find a time, no sign-up"  <=  "Find a time, no sign-up"
MATCH   "Or start with a quick poll, no account needed"  <=  "Or start with a quick poll, no account needed"
MATCH   "What is it for?"  <=  "What is it for?"
MATCH   "Find a time"  <=  "Find a time"
MATCH   "When could it be?"  <=  "When could it be?"
MATCH   "First day"  <=  "First day"
MATCH   "Last day"  <=  "Last day"
MATCH   "From"  <=  "From"
MATCH   "To"  <=  "To"
MATCH   "How long?"  <=  "How long?"
MATCH   "Names on, up to 10 people, open for 7 days"  <=  "{names}, up to {max} people, open for {expiry}"
MATCH   "Create poll"  <=  "Create poll"
MATCH   "Your poll is ready"  <=  "Your poll is ready"
MATCH   "More options"  <=  "More options"
MATCH   "Ask for names"  <=  "Ask for names"
MATCH   "Anonymous 1"  <=  "Anonymous {seat}"
MATCH   "Anonymous 2"  <=  "Anonymous {seat}"
MATCH   "People who can answer"  <=  "People who can answer"
MATCH   "Poll stays open for"  <=  "Poll stays open for"
MATCH   "24 hours"  <=  "24 hours"
MATCH   "7 days"  <=  "7 days"
MATCH   "When the poll ends, it is deleted with every answer."  <=  "When the poll ends, it is deleted with every answer."
MATCH   "Copy link"  <=  "Copy link"
MATCH   "Poll link copied"  <=  "Poll link copied"
MATCH   "Share"  <=  "Share"
MATCH   "3 of 10 answered"  <=  "{count} of {max} answered"
MATCH   "Open until"  <=  "Open until {date}."
MATCH   "When are you free?"  <=  "When are you free?"
MATCH   "Free"  <=  "Free"
MATCH   "Maybe"  <=  "Maybe"
MATCH   "Erase"  <=  "Erase"
MATCH   "Your name"  <=  "Your name"
MATCH   "Answers are anonymous."  <=  "Answers are anonymous."
MATCH   "Send my times"  <=  "Send my times"
MATCH   "Paint at least one time first."  <=  "Paint at least one time first."
MATCH   "Thanks, Sam. You are on the list."  <=  "Thanks, {name}. You are on the list."
MATCH   "Thanks. You are on the list as Anonymous 3."  <=  "Thanks. You are on the list as {name}."
MATCH   "Change my times"  <=  "Change my times"
MATCH   "Update my times"  <=  "Update my times"
MATCH   "Keep my times"  <=  "Keep my times"
MATCH   "Nobody has answered yet"  <=  "Nobody has answered yet"
MATCH   "Best times"  <=  "Best times"
MATCH   "Best bet"  <=  "Best bet"
MATCH   "Runners up"  <=  "Runners up"
MATCH   "3 yes, 1 maybe"  <=  "{yes} yes, {maybe} maybe"
MATCH   "Without Kai"  <=  "Without {names}"
MATCH   "Everyone"  <=  "Everyone"
MATCH   "Nobody"  <=  "Nobody"
MATCH   "Your poll"  <=  "Your poll"
MATCH   "Close poll"  <=  "Close poll"
MATCH   "Delete poll"  <=  "Delete poll"
MATCH   "This poll is full"  <=  "This poll is full"
MATCH   "This poll is closed"  <=  "This poll is closed"
MATCH   "Results stay up until"  <=  "Results stay up until {date}."
MATCH   "This poll has ended"  <=  "This poll has ended"
MATCH   "Your times were not saved."  <=  "Your times were not saved."
MATCH   "No poll here"  <=  "No poll here"
MATCH   "Make a new poll"  <=  "Make a new poll"
MATCH   "Easy there. Try again a little later."  <=  "Easy there. Try again a little later."
60 of 60 quoted labels found in the app branch strings
Evidence: Heading anchors, base vs target
diff heading-ids-base.txt heading-ids-head.txt: one line differs (faq), the only change is the added anchor can-i-find-a-time-without-an-account. plans, plans/availability, plans/best-time, plans/lock-in, plans/timeline, getting-started and privacy-and-security are identical.
Evidence: Target build log

All internal links are valid. 28 page(s) built. Complete!


> [email protected] build
> astro build

23:30:53 [build] Waiting for integration "@astrojs/mdx", hook "astro:config:setup"...
23:30:57 [content] Syncing content
23:30:57 [content] Synced content
23:30:57 [types] Generated 3.42s
23:30:57 [build] output: "static"
23:30:57 [build] mode: "static"
23:30:57 [build] directory: {run-worktree}\dist\
23:30:57 [build] Collecting build info...
23:30:57 [build] ✓ Completed in 15.56s.
23:30:57 [build] Building static entrypoints...
23:31:00 [vite] ✓ built in 2.53s
23:31:00 [vite] ✓ built in 468ms
23:31:01 [build] Rearranging server assets...

 generating static routes 
23:31:01 [WARN] [content] The collection "i18n" does not exist or is empty. Please check your content config file for errors.
23:31:01 [WARN] [build] Could not render `/404` from route `/[...slug]` as it conflicts with higher priority route `/404`.
23:31:01   ├─ /404.html (+112ms) 
23:31:01   ├─ /account/index.html (+216ms) 
23:31:01   ├─ /balances/index.html (+38ms) 
23:31:01   ├─ /balances/settle-up/index.html (+53ms) 
23:31:02   ├─ /expenses/index.html (+42ms) 
23:31:02   ├─ /expenses/currencies/index.html (+30ms) 
23:31:02   ├─ /expenses/editing/index.html (+29ms) 
23:31:02   ├─ /expenses/receipts/index.html (+33ms) 
23:31:02   ├─ /expenses/recurring/index.html (+53ms) 
23:31:02   ├─ /expenses/search-and-totals/index.html (+36ms) 
23:31:02   ├─ /expenses/splits/index.html (+30ms) 
23:31:02   ├─ /faq/index.html (+29ms) 
23:31:02   ├─ /friends/index.html (+84ms) 
23:31:02   ├─ /getting-started/index.html (+39ms) 
23:31:02   ├─ /groups/index.html (+32ms) 
23:31:02   ├─ /groups/invites/index.html (+41ms) 
23:31:02   ├─ /groups/roles/index.html (+31ms) 
23:31:02   ├─ /groups/settings/index.html (+34ms) 
23:31:02   ├─ /index.html (+32ms) 
23:31:02   ├─ /notifications/index.html (+30ms) 
23:31:02   ├─ /plans/index.html (+28ms) 
23:31:02   ├─ /plans/availability/index.html (+38ms) 
23:31:02   ├─ /plans/best-time/index.html (+24ms) 
23:31:02   ├─ /plans/lock-in/index.html (+25ms) 
23:31:02   ├─ /plans/quick-polls/index.html (+30ms) 
23:31:02   ├─ /plans/timeline/index.html (+43ms) 
23:31:02   ├─ /privacy-and-security/index.html (+25ms) 
23:31:02   ├─ /troubleshooting/index.html (+29ms) 
23:31:02 ✓ Completed in 1.56s.

23:31:02 [build] ✓ Completed in 5.50s.
23:31:02 [starlight:pagefind] Building search index with Pagefind...
23:31:05 [build] Waiting for integration "@astrojs/starlight", hook "astro:build:done"...
23:31:06 [starlight:pagefind] Found 28 HTML files.
23:31:06 [starlight:pagefind] Finished building search index in 4.00s.

 validating links 

╭─                             ─╮
· All internal links are valid. ·
╰─                             ─╯

23:31:07 [@astrojs/sitemap] `sitemap-index.xml` created at `dist`
23:31:07 [build] 28 page(s) built in 25.21s
23:31:07 [build] Complete!

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 2 issues found → auto-fixed (2) ✅
  • ℹ️ src/content/docs/privacy-and-security.mdx:6 - The intro still says Potluck shows what it stores "only to your friends and the people you share a group with". The new table row at line 22 says quick poll titles, names and times are visible to anyone with the link, so the "only" is no longer true for the page as a whole. The intent flags this as deliberate and says rewording is welcome if review asks: review does recommend it, for example adding one clause such as "except quick polls, which anyone with the link can see". No heading changes are needed.
  • ℹ️ src/content/docs/plans/quick-polls.mdx:142 - The guide says the hashed IP is kept "for an hour" (also src/content/docs/privacy-and-security.mdx:23). On the app branch, the row counts toward the limit for an hour, but it is only removed by the hourly purge job (private.purge_quick_polls deletes rows with created_at <= now() - 1 hour), so a row made at 10:01 survives the 11:00 run and is deleted at 12:00, close to two hours on disk. The intent requires the guide to say only what the code does. The app's ADR 22 uses the same "kept an hour" wording, so this is the author's call: either keep it, or soften both lines to something like "for about an hour, two at most".

🔧 Fix applied.
2 infos still open:

  • ℹ️ src/content/docs/privacy-and-security.mdx:6 - The intro still says Potluck shows what it stores "only to your friends and the people you share a group with". The new table row at line 22 says quick poll titles, names and times are visible to anyone with the link, so the "only" is no longer true for the page as a whole. The intent flags this as deliberate and says rewording is welcome if review asks: review does recommend it, for example adding one clause such as "except quick polls, which anyone with the link can see". No heading changes are needed.
  • ℹ️ src/content/docs/privacy-and-security.mdx:6 - Round 1's fix introduced "The one exception is a quick poll, which anyone with its link can see." The uniqueness claim is contradicted by the table on the same page: line 14 says anyone who opens your friend link sees your first name and photo, and line 17 says anyone who opens an invite link sees the group's cover photo and name. Quick polls are therefore not the only data shown outside friends and groups. Smallest remedy is to drop the uniqueness, for example "A quick poll is different: anyone with its link can see it." No other site in the change makes this claim. User-visible privacy wording, so the author decides.

🔧 Fix applied.
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 10 of 11 scenarios driven live against the product
Scenario Result Live Evidence
Reader opens /plans/quick-polls/ on the locally served guide and sees the full Quick polls page with its sections, step lists and limits table ✅ pass live 01-quick-polls-page.png, 01-quick-polls-page-full.png; HTTP 200, h1 'Quick polls', 11 headings, 2 step lists, 7 limit rows
Reader looks at the Plans sidebar group and finds Quick polls as the last entry ✅ pass live 02-sidebar.png; sidebar order read from the page: Planning something, Painting your availability, How best times are ranked, Locking in a time, Timeline, Quick polls [current]
Reader clicks the quick poll cross link on plans, availability (guest links), getting started, FAQ, privacy and the home topic menu and lands on the Quick polls page ✅ pass live 03-crosslink-*.png (6 files); each click ended at /plans/quick-polls/ with h1 'Quick polls'
Reader follows every internal link and anchor on the Quick polls page and each target page and heading exists ✅ pass live 18 internal links followed, all 200 with anchors found (including /plans/#start-a-poll, /plans/availability/#guest-links, #paint-your-times, #the-live-heatmap); build.log shows 'All internal links are…
Reader opens Privacy and security and sees the two quick poll rows in the 'What is stored' table and the intro noting that anyone with a quick poll link can see it ✅ pass live 04-privacy-table.png; rows read: 'Quick poll titles, names and times | Anyone with the poll's link, until the poll ends...' and 'The IP address of whoever makes a quick poll | Nobody in the app... for…
Reader searches the guide for 'quick poll' and the Quick polls page is the top result and opens ✅ pass live 05-search.png; first result 'Quick polls -> /plans/quick-polls/', click landed there
Adversarial: existing heading anchors that in-app help links point at are unchanged between base and target builds ✅ pass live heading-ids-base.txt vs heading-ids-head.txt: the only difference is the added FAQ anchor can-i-find-a-time-without-an-account
Adversarial: no em or en dash appears in the rendered text of the new and changed pages ✅ pass live Rendered body text of /plans/quick-polls/, /plans/, /plans/availability/, /getting-started/, /faq/, /privacy-and-security/ and / scanned in the browser: zero matches for U+2013 or U+2014
Every button, label and message quoted in bold on the Quick polls page exists in the app branch strings (feat/quick-polls-no-account) ✅ pass live ui-string-check.txt: 60 of 60 quoted labels found in quick-polls.ts, shell.ts and plans.ts fetched from the app branch
Quick polls page reads without horizontal overflow on a 390 px wide phone viewport ✅ pass live 06-mobile-limits.png; document scrollWidth minus clientWidth = 0
The guide's behavioural claims (limits, defaults, close and delete, deletion within the hour, IP hash retention) match what the app in Fermulate/potluck#51 actually does ⏸️ untested no Would need the unmerged app branch running with its Supabase backend, migrations and purge job; this docs worktree has no app checkout, and standing up that stack (database, auth, scheduled jobs) is o…
  • npm ci then npm run build at target commit (exit 0, starlight-links-validator: all internal links valid, 28 pages)
  • npx astro preview --port 4391 --host 127.0.0.1 driven with Playwright: /plans/quick-polls/ returns 200, h1, 11 headings, 2 step lists, 7 limit rows
  • Playwright: Plans sidebar group order, Quick polls last and marked current
  • Playwright: followed all 18 internal links and anchors on the new page, every target and anchor exists
  • Playwright: clicked the quick poll link from /plans/, /plans/availability/, /getting-started/, /faq/, /privacy-and-security/ and the home topic menu, each lands on Quick polls
  • Playwright: read the two new privacy table rows and the reworded intro on /privacy-and-security/
  • Playwright: site search for "quick poll", top result Quick polls, click lands on /plans/quick-polls/
  • Playwright: rendered body text of 7 changed pages scanned for U+2013 and U+2014, none found
  • Playwright: 390x844 viewport on /plans/quick-polls/#limits, no horizontal overflow
  • Base build (git checkout ba412ef -- src astro.config.mjs, astro build --outDir dist-base, restored after) and diff heading-ids-base.txt heading-ids-head.txt: only addition is can-i-find-a-time-without-an-account
  • gh api fetch of packages/i18n/src/en/{quick-polls,shell,plans}.ts at ref feat/quick-polls-no-account, then node strings.mjs: 60 of 60 bold UI labels on the new page found
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

musa-kal and others added 3 commits November 22, 2026 23:23
A new page, Quick polls (plans/quick-polls), covers the no-account poll
made from the front page: when to use one instead of a plan with guest
links, the fields and defaults, More options, sharing the link,
answering and changing times, reading the results, closing and deleting
from the browser that made the poll, when a poll stops taking answers,
the limits, and who can see a poll. Every button and message uses the
app's English wording from Fermulate/potluck#51.

The page is in the sidebar and the topic menu, and is linked from
Planning something, Guest links, Getting started, a new FAQ entry and
the Privacy and security table. No screenshots yet: the app change is
not merged.

Co-authored-by: Ferrin <[email protected]>
Co-authored-by: noorelmosrati <[email protected]>
@musa-kal
musa-kal merged commit 96f9c41 into main Nov 23, 2026
2 checks passed
@musa-kal
musa-kal deleted the docs/quick-polls branch November 23, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant